package com.yuyou.fn.educational.service;

import com.github.wens.framework.service.ISuperService;
import com.yuyou.fn.educational.entity.StudentMeasureScore;
import com.yuyou.fn.educational.vo.StudentMeasureScoreDetailVo;
import com.yuyou.fn.educational.vo.StudentMeasureScoreQueryVo;
import com.yuyou.fn.educational.vo.StudentMeasureScoreSaveOrUpdateVo;
import com.yuyou.fn.platform.entity.SysUser;

import java.util.List;

/**
 *
 * StudentMeasureScore 表数据服务层接口
 *
 */
public interface IStudentMeasureScoreService extends ISuperService<StudentMeasureScore,Long> {

    StudentMeasureScore saveOrUpdate(StudentMeasureScoreSaveOrUpdateVo studentMeasureScoreSaveOrUpdateVo, SysUser sysUser);

    List<StudentMeasureScore>  findStudentScoreByQuery(StudentMeasureScoreQueryVo studentMeasureScoreQueryVo);

    List<StudentMeasureScoreDetailVo> findStudentScoreDetailByQuery(StudentMeasureScoreQueryVo studentMeasureScoreQueryVo);

    boolean checkPass(Long studentId , Long gradeId, Long subjectId, Integer level , String campusIds, Double passingScore);

}